
import java.awt.Color;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.RoundRectangle2D;
import java.io.File;
import javax.swing.JFrame;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import javax.swing.JPanel;

/**
 *
 * @author Dark_Wolf
 */
public class RoundTest {
    public static void main(String[] args){
         
        final RoundRectangle2DHighlight r = new RoundRectangle2DHighlight(new RoundRectangle2D.Double(0, 0, 200, 20, 20, 20));
         JFrame frame = new JFrame();
         frame.setLayout(new StackLayout());
          //frame.add(new ImagePanel(av.getRawImage(),600,600));
         JPanel panel = new JPanel();
         panel.setBackground(Color.BLACK);
         frame.add(panel);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        
        frame.add(new DarkButton("Ninja", 200, 50));                
       frame.pack();
        frame.setVisible(true);
        
    }
}
